powers and roots of complex numbers